package com.gxy.learn.design.principle.interface_segregation_principle;

import lombok.extern.slf4j.Slf4j;

/**
 * @description:
 * @author: gaoxueyong
 * @Date: 2022/11/6 14:49
 */
@Slf4j
public class BSafeDoor implements SafeAntiTheftDoor,SafeWaterProofDoor{
    /**
     * 防盗
     *
     * @return void
     * @Author gaoxueyong
     * @Date 2:46 下午 2022/11/6
     * @Param []
     **/
    @Override
    public void antiTheft() {
       log.info("防盗");
    }


    /**
     * 防水
     *
     * @return void
     * @Author gaoxueyong
     * @Date 2:46 下午 2022/11/6
     * @Param []
     **/
    @Override
    public void waterProof() {
        log.info("防水");
    }
}
